Skip to content

PoC: Move docstring assert to the DSL state machine #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

erlend-aasland
Copy link

No description provided.

@erlend-aasland erlend-aasland force-pushed the clinic/docstring-assert-summary-separator branch from 11b0438 to 04e18a5 Compare August 3, 2023 09:13
@erlend-aasland
Copy link
Author

An alternative to this could be to compute the correct line number from within format_docstring().

@erlend-aasland
Copy link
Author

An alternative to this could be to compute the correct line number from within format_docstring().

OTOH, if we move the docstring formatting to the render step, it might not be that easy to get the correct line number anymore; perhaps the parsing state machine is the best place for it.

@erlend-aasland erlend-aasland force-pushed the clinic/docstring-assert-summary-separator branch from 04e18a5 to 2c81ba9 Compare August 4, 2023 11:22
@erlend-aasland erlend-aasland force-pushed the clinic/docstring-assert-summary-separator branch from 2c81ba9 to 96767a5 Compare August 4, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant